<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link rel="stylesheet" href="index.css">
    <title>JS分页</title>
</head>

<body>
    <div class="container">
        <ul class="content">
            <li>
                <i class="material-icons">code</i>
                <p>1</p>
            </li>
            <li>
                <i class="material-icons">face</i>
                <p>2</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>3</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>4</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>5</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>6</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>7</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>8</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>9</p>
            </li>
            <li>
                <i class="material-icons">code</i>
                <p>10</p>
            </li>
        </ul>
        <ul class="pagination">
            <li class="material-icons page-btn page-btn-prev">chevron_left</li>
            <li class="page-number active">1</li>
            <li class="material-icons page-dot page-dot-prev"></li>
            <li class="page-number">5</li>
            <li class="page-number">6</li>
            <li class="page-number">7</li>
            <li class="material-icons page-dot page-dot-next"></li>
            <li class="page-number">5</li>
            <li class="material-icons page-btn isClick page-btn-next">chevron_right</li>
        </ul>
    </div>
    <script src="./index.js"></script>
</body>

</html>